class CreateFactories < ActiveRecord::Migration
  def self.up
    create_table :factories do |t|
      t.string :name,
        :link_phone,
        :link_man,
        :email,
        :qq,
        :msn,
        :address
      t.text :remark
      t.string :status, :default => 'visible'
      t.timestamps
    end
  end

  def self.down
    drop_table :factories
  end
end
